package test;

import java.util.concurrent.atomic.AtomicInteger;

public class AtomicIntegerTest1 {
    public static void main(String[] args) {
        AtomicInteger a = new AtomicInteger(0);
        System.out.println(a.getAndIncrement());
        System.out.println(a.get());
    }
}

